# $OpenBSD: Makefile,v 1.26 2013/10/11 23:51:52 naddy Exp $

COMMENT=		graphical ports system frontend

DISTNAME=	 	pb-browser-0.4
REVISION=		10
CATEGORIES=		x11 sysutils

MAINTAINER=		Igor Boehm <igor@bytelabs.org>
HOMEPAGE=		http://www.bytelabs.org/pbrowser.html

# BSD licence
PERMIT_PACKAGE_CDROM=	Yes

WANTLIB=	X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
		Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
		freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
		gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
		pixman-1 png pthread util z pthread-stubs xcb gdk-x11-2.0 \
		gdk_pixbuf-2.0 gtk-x11-2.0

MASTER_SITES=		http://www.bytelabs.org/
EXTRACT_SUFX=		.tgz

MODULES=		devel/gettext
LIB_DEPENDS=	        x11/gtk+2

CFLAGS+=		-DIMAGEDIR=\"${PREFIX}/share/pbrowser/icons/\"


do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/pbrowser/icons
	${INSTALL_PROGRAM} ${WRKBUILD}/src/pbrowser ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/pbrowser/icons
	${INSTALL_MAN} ${WRKSRC}/src/pbrowser.1 ${PREFIX}/man/man1

.include <bsd.port.mk>
